package com.itheima.service;

import com.itheima.domain.FlashPromotionSession;
import com.itheima.vo.SmsFlashPromotionSessionVo;

import java.util.List;

public interface SmsFlashPromotionSessionService {
    //获取全部场次
    List<FlashPromotionSession> list();

    //添加场次
    void create(FlashPromotionSession promotionSession);

    //获取全部可选场次及其数量
    List<SmsFlashPromotionSessionVo> selectList(Integer flashPromotionId);

    //获取场次详情
    FlashPromotionSession selectById(Integer id);

    //删除场次
    void delete(Integer id);

    //修改启用状态
    void updateStatus(Integer id, Integer status);

    //修改场次
    void updateById(FlashPromotionSession promotionSession);

}
